package com.luisliuyi.demo.optimize.crash;


import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

public class DemoActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_demo);
    }
    public static String TAG = "DemoActivity";


    public void crashTest(View view){
        String str = null;
        str.length();
    }
}